package chances.system.operator.web;

import java.util.List;

import chances.system.operator.entity.Operator;

public class OperatorModel {
	
	Operator operator = new Operator();
	List<Long> roles;

	public Operator getOperator() {
		return operator;
	}

	public void setId(Long id) {
		 operator.setId(id);
	}

	public Long getId() {
		return operator.getId();
	}

	public String getName() {
		return operator.getName();
	}

	public void setName(String name) {
		operator.setName(name);
	}

	public String getLoginName() {
		return operator.getLoginName();
	}

	public void setLoginName(String loginName) {
		operator.setLoginName(loginName);
	}

	public String getPassword() {
		return operator.getPassword();
	}

	public void setPassword(String password) {
		operator.setPassword(password);
	}

	public void setStatus(int status) {
		operator.setStatus(status);
	}
	
	public int getStatus() {
		return operator.getStatus();
	}

	public String getEmail() {
		return operator.getEmail();
	}

	public String getMobile() {
		return operator.getMobile();
	}

	public void setMobile(String mobile) {
		operator.setMobile(mobile);
	}
	
	public List<Long> getRoles() {
		return roles;
	}

	public void setOperator(Operator operator) {
		this.operator = operator;
	}

	public void setRoles(List<Long> roles) {
		this.roles = roles;
	}

	public void setEmail(String email) {
		operator.setEmail(email);
	}

	public Long getOrgId() {
		return operator.getOrgId();
	}

	public void setOrgId(Long orgId) {
		operator.setOrgId(orgId);
	}
}
